package com.dan.service;

import com.dan.pojo.Article;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author danqihao
 */

@Mapper
public interface ArticleService {
    //条件分页列表查询
    List<Article> list(Integer pageNum, Integer pageSize, Integer userId);

    public Article findById(int id);

    public void save(Article article);

    public void deleteById(int id);

}
